package com.qf.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * User: key
 * ClassName:User
 * Date: 2023/6/2
 * Time: 20:01
 * description:
 */
@TableName("user")
@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String salt;
    private String email;
    private Integer type;
    private Integer status;
    @TableField("activation_code")
    private String activationCode;
    @TableField("header_url")
    private String headerUrl;
    @TableField("create_time")
    private Date createTime;
}

